#include "User.h"


User::User(void)
{
}

User::User(string username, string password, string leasetime, int difficulty)
{
	this->m_UserName = username;
	this->m_PassWord = password;
	this->m_LeaseTime = leasetime;
	this->m_Difficulty = difficulty;
}

int User::getDifficulty()
{
	return this->m_Difficulty;
}

void User::showInfo()
{
	cout << "Ten nguoi dung: "<< this->m_UserName <<endl;
	cout << "Mat khau: "<< this->m_PassWord << endl;
	cout << "Thoi diem thue: "<< this->m_LeaseTime<<endl;
	cout << "Do kho: "<< this->m_Difficulty << " MegaFLOPS" <<endl;
}
User::~User(void)
{
}
